<?php
return [
    // 站点配置
    'site' => [
        'name' => '管理系统',
        'logo' => '/static/admin/images/logo.png',
        'favicon' => '/static/admin/images/favicon.ico',
        'icp' => '京ICP备12345678号',
        'copyright' => 'Copyright © 2024 All Rights Reserved'
    ],
    
    // 上传配置
    'upload' => [
        'image' => [
            'size' => 2048,  // KB
            'ext' => 'jpg,jpeg,png,gif',
            'path' => 'uploads/images'
        ],
        'video' => [
            'size' => 51200, // KB
            'ext' => 'mp4,avi,mov',
            'path' => 'uploads/videos'
        ],
        'file' => [
            'size' => 10240, // KB
            'ext' => 'doc,docx,xls,xlsx,pdf',
            'path' => 'uploads/files'
        ]
    ],
    
    // 缓存配置
    'cache' => [
        'prefix' => 'system_',
        'expire' => 3600
    ],
    
    // 验证码配置
    'captcha' => [
        'length' => 4,
        'expire' => 300,
        'fontSize' => 25,
        'useCurve' => false,
        'useNoise' => false
    ],
    
    // 短信配置
    'sms' => [
        'provider' => 'aliyun',
        'expire' => 300,
        'length' => 6,
        'aliyun' => [
            'accessKeyId' => '',
            'accessKeySecret' => '',
            'signName' => '',
            'templateCode' => ''
        ]
    ]
];